﻿
@{
    ViewBag.Title = "MakingsCirculationDataView";
}
@using System.Collections.Generic;
<style type="text/css">
    .return{
        width:80px;
        position:fixed;
        right:100px;
        top:400px;
        z-index:100;
    }
    #MakingsCirculationForm {
        background: white;
        padding-left: 7%;
        padding-right: 7%;
        padding-bottom: 2%;
        padding-top: 2%;
    }

    .table, .table > tbody > tr > td {
        border: 1px solid;
        font-size: 15px;
        vertical-align: middle;
    }

    textarea {
        resize: none;
    }

    .page_title {
        width: 100%;
        height: 55px;
        color: #000;
        font-size: 25px;
        line-height: 55px;
        text-align: center;
        font-weight: 700;
    }

    .table_number {
        color: #000;
        font-size:18px;
    }

    .ShroffMakings {
        height: 350px;
        width: 100%;
        overflow: auto;
    }

    .border_none {
        border: none;
        outline: none;
    }

    .Remarks {
        width: 100%;
    }
</style>
<a class="btn btn-default return" href="javascript: history.go(-1);">返&nbsp;&nbsp;回</a>
<form action="/As/SubmitMakingsCirculation" method="post" id="MakingsCirculationForm">
    <div class="page_title">西科大鉴定材料流转单</div>
    <div class="table_number">
        表格编号：@ViewBag.TableNumber
    </div>
    <table class="makingsCirculation_table table">
        <tr>
            <td>委托人</td>
            <td>@ViewBag.Client</td>
            <td>被鉴定人</td>
            <td>@ViewBag.be_appraiser_name</td>
        </tr>
        <tr>
            <td>
                <div style="width:23px;margin:auto;margin-top:7%;">鉴定材料︵</br />包括材料名称和数量</br />︶</div>
            </td>
            <td colspan="3">
                @ViewBag.mak_ShroffMakings
            </td>
        </tr>
        @{
            Dictionary<string, string> m = (ViewBag.mak_MakingsReceptionPeoples) as Dictionary<string, string>;
            List<string> m2 = new List<string>(m.Keys);
            for (int i = 0; i < m2.Count - 1; i++)
            {
                <tr>
                    <td>第(@(i + 1))鉴定资料收领人</td>
                    <td>
                       @m2[i]
                    </td>
                    <td>收领日期</td>
                    <td>
                        @m[m2[i]]
                    </td>
                </tr>
            }
        }
        <tr>
            <td>档案室资料收领人</td>
            <td>
                @m2[m.Count - 1]
            </td>
            <td>归档日期</td>
            <td>
                @m[m2[m.Count - 1]]
            </td>
        </tr>
        <tr>
            <td>备注</td>
            <td colspan="3" name="Remarks">
                @ViewBag.mak_Remarks
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
    $(function () {
        var trs = $('.makingsCirculation_table tr');
        for (var i = 0; i < trs.length; i++) {
            $(trs[i]).children('td').eq(0).css({ width: "20%" });
            $(trs[i]).children('td').eq(1).css({ width: "30%" });
            $(trs[i]).children('td').eq(2).css({ width: "20%" });
            $(trs[i]).children('td').eq(3).css({ width: "30%" });
        }
    });
</script>

